package github.sf.fw.tools.db.impl.mysql;


import github.sf.fw.tools.db.*;

public class MysqlDbOperation implements DbOperation {
    @Override
    public TableDataReader getTableDataLoader(DSProperty dsProperty) {
        return new MysqlTableDataReader(dsProperty);
    }

    @Override
    public DataSourceMeta getDataSourceMeta(DSProperty properties, QueryFilter<String> schemaNameFilter) {
        return new MysqlDataSourceMeta(properties, schemaNameFilter);
    }

    @Override
    public DataSourceMeta getDataSourceMeta(DSProperty properties) {
        return new MysqlDataSourceMeta(properties);
    }

    @Override
    public AbstractTableDataWriter getTableDataWriter(DSProperty dsProperty) {
        return new MysqlDataWriter(dsProperty);
    }
}
